package com.sian.security.web.model;

import java.io.Serializable;

public class Permission  implements Serializable
{
	private static final long serialVersionUID = -1088255167079041151L;
	public static final String PERMIT_READ = "READ";
	public static final String PERMIT_WRITE = "WRITE";
	public static final String PERMIT_DELETE = "DELETE";
	public static final String PERMIT_ADMIN = "ADMIN";
	
	Long id;
	String resourceName;
	String permit;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getResourceName() {
		return resourceName;
	}
	public void setResourceName(String resource) {
		this.resourceName = resource;
	}
	public String getPermit() {
		return permit;
	}
	public void setPermit(String permit) {
		this.permit = permit;
	}
	
	public String toString()
	{
		return "ID: " + id + " RESOURCE_NAME: " + resourceName + " PERMIT: " + permit;
	}
}
